﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GameOfRobots
{
    public class RobotLab
    {
        public void Start()
        {
            // first robot
            Robot rob = new Robot();
            // second robot
            Robot rob1 = new Robot();
            Renderer renderer = new Renderer();
            InputController inputController = new InputController(rob, rob1);          
            
           

            //render initial position
            renderer.DrawingRobot(rob);

            while (true)
            {
                inputController.Moving();
                //render new position after movement
                renderer.DrawingRobot(rob);
                renderer.DrawingRobot(rob1);
            }
        }
    }
}
